// 18 工资管理 21
export default {
  path: '/salarymanage',
  name: 'salarymanage',
  icon: 'container',
  authority: ['business:antd:wage'],
  routes: [
    {
      path: '/salarymanage/protection',
      name: 'protection',
      hideChildrenInMenu: true,
      authority: ['business:wage:maintain'],
      routes: [
        {
          path: '/salarymanage/protection',
          redirect: '/salarymanage/protection/index',
        },
        {
          path: '/salarymanage/protection/index',
          component: './SalaryManage/Protection/Index',
        },
        {
          path: '/salarymanage/protection/batchimport',
          component: './SalaryManage/Protection/BatchImport',
        },
        {
          path: '/salarymanage/protection/batchsend',
          component: './SalaryManage/Protection/BatchSend',
        },
        {
          path: '/salarymanage/protection/batchtax',
          component: './SalaryManage/Protection/BatchTax',
        },
        {
          path: '/salarymanage/protection/detail',
          name: 'detail',
          component: './SalaryManage/Protection/Detail',
        },
        {
          path: '/salarymanage/protection/maintaindetail',
          name: 'detail',
          component: './SalaryManage/Protection/MaintainDetail',
        },
        {
          path: '/salarymanage/protection/batchfeedback',
          name: 'batchfeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
      ],
    },
    {
      path: '/salarymanage/salaryview',
      name: 'salaryview',
      hideChildrenInMenu: true,
      authority: ['business:wage:offl'],
      routes: [
        {
          path: '/salarymanage/salaryview',
          redirect: '/salarymanage/salaryview/index',
        },
        {
          path: '/salarymanage/salaryview/index',
          component: './SalaryManage/SalaryView/Index',
        },
        {
          path: '/salarymanage/salaryview/detail',
          name: 'detail',
          component: './SalaryManage/SalaryView/Detail',
        },
        {
          path: '/salarymanage/salaryview/problem',
          name: 'detail',
          component: './SalaryManage/SalaryView/Problem',
        },
        {
          path: '/salarymanage/salaryview/batchfeedback',
          name: 'batchfeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
      ],
    },
    {
      path: '/salarymanage/salarysend',
      name: 'salarysend',
      hideChildrenInMenu: true,
      authority: ['business:wage:pay'],
      routes: [
        {
          path: '/salarymanage/salarysend',
          redirect: '/salarymanage/salarysend/index',
        },
        {
          path: '/salarymanage/salarysend/index',
          component: './SalaryManage/SalarySend/Index',
        },
        {
          path: '/salarymanage/salarysend/batchsend',
          component: './SalaryManage/SalarySend/BatchSend',
        },
        {
          path: '/salarymanage/salarysend/batchtax',
          component: './SalaryManage/SalarySend/BatchTax',
        },
        {
          path: '/salarymanage/salarysend/problem',
          name: 'detail',
          component: './SalaryManage/SalarySend/Problem',
        },
        {
          path: '/salarymanage/salarysend/detail',
          name: 'detail',
          component: './SalaryManage/SalarySend/Detail',
        },
        {
          path: '/salarymanage/salarysend/batchfeedback',
          name: 'batchfeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
      ],
    },
  ],
};
